package demo;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: hp
 * Date: 2024-03-08
 * Time: 15:10
 */
public class Test11 {
    public static void main(String[] args) {
        String st1 = "hello";
        String st2 = "Hello";
        System.out.println(st1.equalsIgnoreCase(st2));
    }

    /*public static void main5(String[] args) {
        //String str1 = null;
        String str2 = "";

        System.out.println(str2.length());
        System.out.println(str2.isEmpty());
    }*/

    /*public static void main4(String[] args) {
        String s1 = new String("hello");
        String s2 = new String("world");
        System.out.println(s1.length());
    }*/

    /*public static void main3(String[] args) {
        char[] array = {'h','e','l','l','o','b','i','t'};
        String str3 = new String(array);
        System.out.println(str3);
    }*/

    /*public static void main2(String[] args) {
        String str = new String("hello www");
        System.out.println(str);
    }*/

    /*public static void main1(String[] args) {
        String str1 = "hello world";
        System.out.println(str1);
    }*/
}
